﻿using namespace std;
int N = 0;
void worker(int n) {
	for (int i = 0; i < 100000; ++i) {
		N += n;
		N -= n;
	}
}
int main()
{
	thread t1(worker, 1);
	thread t2(worker, 1);
	t1.join();
	t2.join();
	cout << N << endl;
}